package org.abc.fund.repository.combination;


import org.abc.fund.entity.combination.*;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface CombinationProductRepository extends JpaRepository<CombinationProduct, Long> {

    // 修改参数类型为String以匹配数据库字段
    List<CombinationProduct> findByStatus(CombinationProduct.Status status);

    // 保留原有方法
    List<CombinationProduct> findByCreatorId(Long creatorId);

}
